home *** CD-ROM | disk | FTP | other *** search
- Enclosure: dhw.UnmountSyQuest
-
- Here's a Frontier script I wrote for unmounting my SyQuest cartridges. I have
- two sets of cartridges: one a backup set with volumes named "1-Drive 1 Backup,
- 2-Drive 1 Backup,...<n>-Drive 1 Backup"; the second a set of archive cartridges
- named "Archive 1, Archive 2,...Archive <n>".
-
- This script does a 'for' loop for each set to determine if a cartridge from one
- of these 2 sets is mounted, and unmounts the cartridge if true. The script is
- not very generic for general use but can be modified easily if you use
- ejectable media with names consisting of a root and incremental numbers. The
- script is somewhat commented and should be easy to figure out.
-
- I use this script via a QuicKey 'Frontier' extension. If Frontier is running I
- can unmount any one of my consistantly named cartridge by pressing F13.
-
- As another example, I use Retrospect to backup my drive at night. When the
- backup is done I want the cartridge unmounted, just in case a power disaster
- happens (don't want to fry my drive AND its backup). So I have a timed QuicKey
- to unmount the backup cartridge (by executing this script) after Retrospect has
- had time to execute a backup of my hard drive.
-
- This is what I plan to do with this: Use Frontier to launch my Retrospect
- backup at a predermined time (as a Frontier "Agent"). During the backup
- Frontier monitors my Mac to check if Retrospect is running. When it finds that
- Retrospect is no longer running (it automatically quits after executing the
- backup script), it then executes the script to unmount the backup cartridge.
- I'll upload this when I finish scripting it.
-
- Frontier users: when inporting this script make sure you change the
- [user.initials] from "dhw" to your own Frontier initials, so as to import the
- script into your people table.
-
- Dean
- Author: D7064
-